#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <time.h>
int main()
{
	struct tm *tms;
	time_t t = time(NULL);
	tms = localtime(&t);
	printf("wday:%d\n", tms->tm_wday);

	return 0;
}